package com.bootdo.mall_part.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-11-09 10:12:48
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class MallHousePlot extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;
	
	//小区名称
		@HapiFeild("小区名称")
	private String name;
	
	//纬度
		@HapiFeild("纬度")
	private Double lat;
	
	//经度
		@HapiFeild("经度")
	private Double lon;
	
	//1代表是公共的小区 2代表是特定的小区
		@HapiFeild("1代表是公共的小区 2代表是特定的小区")
	private Integer type;
	
	//国家省市的id字符串
		@HapiFeild("国家省市的id字符串")
	private String cityOverIds;
	
	//城市id
		@HapiFeild("城市id")
	private Long cityId;
	
	//城市名称
		@HapiFeild("城市名称")
	private String cityName;
	
	//详细地址
		@HapiFeild("详细地址")
	private String address;

		// 所有的地址信息
		private String allAddress;
	
	//删除标志1代表正常 2代表删除
		@HapiFeild("删除标志1代表正常 2代表删除")
	private Integer delflag;

	@HapiFeild("社区标志：1代表是社区 2代表是店铺")
	private Integer houseFlag;

	private Long merchantTypeId;

	private String merchantTypeName;

    public MallHousePlot(){

    	this.delflag = 1;
    	this.createTime = new Date();
    	this.houseFlag = 1;
    }


	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：小区名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：小区名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：纬度
	 */
	public void setLat(Double lat) {
		this.lat = lat;
	}
	/**
	 * 获取：纬度
	 */
	public Double getLat() {
		return lat;
	}
	/**
	 * 设置：经度
	 */
	public void setLon(Double lon) {
		this.lon = lon;
	}
	/**
	 * 获取：经度
	 */
	public Double getLon() {
		return lon;
	}
	/**
	 * 设置：1代表是公共的小区 2代表是特定的小区
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：1代表是公共的小区 2代表是特定的小区
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：国家省市的id字符串
	 */
	public void setCityOverIds(String cityOverIds) {
		this.cityOverIds = cityOverIds;
	}
	/**
	 * 获取：国家省市的id字符串
	 */
	public String getCityOverIds() {
		return cityOverIds;
	}
	/**
	 * 设置：城市id
	 */
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	/**
	 * 获取：城市id
	 */
	public Long getCityId() {
		return cityId;
	}
	/**
	 * 设置：城市名称
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	/**
	 * 获取：城市名称
	 */
	public String getCityName() {
		return cityName;
	}
	/**
	 * 设置：详细地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：详细地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：删除标志1代表正常 2代表删除
	 */
	public void setDelflag(Integer delflag) {
		this.delflag = delflag;
	}
	/**
	 * 获取：删除标志1代表正常 2代表删除
	 */
	public Integer getDelflag() {
		return delflag;
	}

	public String getAllAddress() {
		return allAddress;
	}

	public void setAllAddress(String allAddress) {
		this.allAddress = allAddress;
	}

	public Integer getHouseFlag() {
		return houseFlag;
	}

	public void setHouseFlag(Integer houseFlag) {
		this.houseFlag = houseFlag;
	}


	public Long getMerchantTypeId() {
		return merchantTypeId;
	}

	public void setMerchantTypeId(Long merchantTypeId) {
		this.merchantTypeId = merchantTypeId;
	}

	public String getMerchantTypeName() {
		return merchantTypeName;
	}

	public void setMerchantTypeName(String merchantTypeName) {
		this.merchantTypeName = merchantTypeName;
	}

	@Override
	public String toString() {
		return "MallHousePlot{" +
				"id=" + id +
				", createTime=" + createTime +
				", name='" + name + '\'' +
				", lat=" + lat +
				", lon=" + lon +
				", type=" + type +
				", cityOverIds='" + cityOverIds + '\'' +
				", cityId=" + cityId +
				", cityName='" + cityName + '\'' +
				", address='" + address + '\'' +
				", allAddress='" + allAddress + '\'' +
				", delflag=" + delflag +
				", houseFlag=" + houseFlag +
				", merchantTypeId=" + merchantTypeId +
				", merchantTypeName='" + merchantTypeName + '\'' +
				'}';
	}

	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
